home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 1.3 KB | 65 lines | [TEXT/MPS ] |
- ;
- ; File: SegLoad.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__SEGLOAD__') = 'UNDEFINED' THEN
- __SEGLOAD__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- appOpen EQU 0 ;Open the Document (s)
- appPrint EQU 1 ;Print the Document (s)
-
- AppFile RECORD 0
- vRefNum ds.w 1
- fType ds.l 1
- versNum ds.w 1 ;versNum in high byte
- fName ds.l 64
- sizeof EQU 264
- ENDR
-
- ;
- ; Because PowerPC applications don’t have segments,
- ; UnloadSeg is unsupported for PowerPC.
- ;
- IF GENERATING68K THEN
- IF GENERATING68K THEN
- _UnloadSeg: OPWORD $A9F1
- ELSE
- IMPORT UnloadSeg
- ENDIF
-
- ELSE
- ENDIF
- IF ¬ GENERATINGCFM THEN
- IF GENERATING68K THEN
- _GetAppParms: OPWORD $A9F5
- ELSE
- IMPORT GetAppParms
- ENDIF
-
- ENDIF
- IF GENERATING68K THEN
- _ExitToShell: OPWORD $A9F4
- ELSE
- IMPORT ExitToShell
- ENDIF
-
- ENDIF ; __SEGLOAD__
-